package com.molichuxing.services.infrastructure.dao;

import com.molichuxing.framework.dao.RootMapper;
import com.molichuxing.services.infrastructure.bean.EsignAccountBean;
import com.molichuxing.services.infrastructure.bean.EsignCompanyBean;
import com.molichuxing.services.infrastructure.bean.InvoiceApplyBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 签章 Mapper 接口
 * </p>
 *
 * @author zhaopenghui
 * @since 2019-10-08
 */
public interface EsignCompanyMapper extends RootMapper<EsignCompanyBean> {

    /**
     * 获取list
     *
     * @return
     */
    List<EsignCompanyBean> getList();

    /**
     * 通过id修改
     *
     * @param bean
     * @return
     */
    int modifyById(EsignCompanyBean bean);

    /**
     * 根据公司id查询
     *
     * @param companyId
     * @param type
     * @return
     */
    EsignCompanyBean getByCompanyId(@Param("companyId") Integer companyId, @Param("type") Integer type);
}